package com.wuwei.business.mapper;

import com.wuwei.business.domain.BusRent;
import com.wuwei.common.core.domain.model.LoginUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 内容: SSM
 * 作者: weishao
 */
public interface BusRentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BusRent record);

    int insertSelective(BusRent record);

    BusRent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusRent record);

    int updateByPrimaryKey(BusRent record);

    BusRent selectRentByIdentity(@Param("identity") String identity, @Param("carNotReback") int carNotReback);

    List<BusRent> selectRentPage(@Param("loginUser") LoginUser loginUser, @Param("busRent") BusRent busRent);

    BusRent selectBusRentByrentSn(String rentSn);
}